<?php
class UsersGroups extends Zend_Db_Table_Abstract
{
	protected $_name = 'users_groups';

	protected $_referenceMap = array(
		'User'  => array(
		'columns'   => array('userId'),
		'refTableClass' => 'Users',
		'refColumns'  => array('id')
		),
		'Group' => array(
		'columns'   => array('groupId'),
		'refTableClass' => 'Groups',
		'refColumns'  => array('id')
		)
	);
}